import ProjectList from '/imports/pages/project/project-list.vue'
import ProjectCenter from '/imports/pages/project/project-center.vue'
import ProjectDashboard from '/imports/pages/project/project-dashboard.vue'
import Interface from './interface.route'

export default [{
  path: '/project-list',
  name: 'project-list',
  component: ProjectList
}, {
  path: '/project/:projectId/',
  component: ProjectCenter,
  children: [{
    path: '',
    name: 'project-center',
    component: ProjectDashboard
  }, {
    path: 'dashboard',
    name: 'project-dashboard',
    component: ProjectDashboard
  }]
}, {
  path: '/project/:projectId/',
  component: ProjectCenter,
  children: Interface
}]
